package com.platform.core.entity;

import com.platform.comm.entity.IdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Description: 角色菜单实体类
 *
 * @author libin Created on 2019/7/18
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "ncloud_sys_role_function")
public class SysRoleFunction extends IdEntity {

    private static final long serialVersionUID = -5578310015081269980L;
    /**
     * 角色Id
     */
    @Column(name = "role_id", length = 36)
    private String roleId;

    /**
     * 菜单ID
     */
    @Column(name = "function_id", length = 36)
    private String functionId;
}
